﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CommerceOne.Domains.Entities;

namespace CommerceOne.Domains.Repositories
{
    public interface ICategoryRepository
    {
        List<Category> GetAll();

        Category GetById(int id);

        List<Category> GetByParentId(int? parentId);
    }
}
